package com.woniuxy.service;

import com.woniuxy.model.entity.Goods;
import com.woniuxy.model.entity.User;
import com.woniuxy.model.vo.AddGoodsVo;
import com.woniuxy.model.vo.GoodsVo;
import com.woniuxy.response.ResponseResult;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "user", path = "/user")
public interface FeignUserService {
    @GetMapping("/findUserByAccount/{account}")
    public ResponseResult<User> findUserByAccount(@PathVariable("account") String account);
}
